import { EnumProperty, IWidget } from "xcore/cmpnt"

const Upload: IWidget = {
    cmpnt: "x-upload",
    valueKey: "upload",
    category: "widgets",
    props: {
        placeholder: "请上传文件",
        "show-word-limit": true,
        "maxlength": 255,
        "multiple": false,
        "image": false,
        "show-file-list": false,
        "limit": 10,
        "btnText": "上传",
        style: {
        },
        class: [],
        bind: { properties: [EnumProperty.Removed] },
    },
    events: {},
    ctl: {
        icon: "iconfont te-i-input",
        name: "Upload",
        group: "file",
        text: "上传组件",
    },
};
export { Upload };
